notebook: Remove unused function call
authorBenjamin Otte <otte@redhat.com>
Wed, 23 Dec 2015 02:40:48 +0000 (03:40 +0100)
committerBenjamin Otte <otte@redhat.com>
Mon, 11 Jan 2016 16:05:23 +0000 (17:05 +0100)
gtk/gtknotebook.c

index 06502a9a7b1d9499fa5feed60775abb130401482..38dab30fb1184ed76474af7a7e2d7dc8bbb6bf30 100644 (file)
@@ -2780,7 +2780,6 @@ gtk_notebook_get_arrow (GtkNotebook *notebook,
 {
   GtkNotebookPrivate *priv = notebook->priv;
   GdkRectangle arrow_rect;
-  GdkRectangle event_window_pos;
   gint i;
   gint x0, y0;
   GtkNotebookArrow arrow[4];
@@ -2792,7 +2791,6 @@ gtk_notebook_get_arrow (GtkNotebook *notebook,
 
   if (gtk_notebook_show_arrows (notebook))
     {
-      gtk_notebook_get_event_window_position (notebook, &event_window_pos);
       for (i = 0; i < 4; i++)
         {
           if (arrow[i] == ARROW_NONE)